package ar.edu.unlu.sistemas.p2p.business.vo;


public class TermFrecuencyVO {
	
	private WordVO word;
	private DocumentVO document;
	private Float value;
	private int freq;
	
	public TermFrecuencyVO() {
		
	}
	
	public TermFrecuencyVO(WordVO word, Float value) {
		this.setWord(word);
		this.setValue(value);
	}
	
	
	public int getFreq() {
		return freq;
	}

	public void setFreq(int freq) {
		this.freq = freq;
	}

	public WordVO getWord() {
		return word;
	}
	public void setWord(WordVO word) {
		this.word = word;
	}
	public DocumentVO getDocument() {
		return document;
	}
	public void setDocument(DocumentVO document) {
		this.document = document;
	}
	public Float getValue() {
		return value;
	}
	public void setValue(Float value) {
		this.value = value;
	}
	public String toString() {
		return this.getWord().getName()+"-"+this.getDocument().getName()+"-"+this.getValue();
	}
}
